package pl.edu.agh.iosr.gamblingzone.model;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;

@AttributeOverride(name="id",
		column=@Column(name="PARTICIPANT_ID"))
@Entity(name="PARTICIPANT")
public class Participant extends IEntity {
	
	@Column(name="PARTICIPAN_NAME", nullable=false)
	private String name;
	
	@Column(name="PARTICIPANT_DESCRIPTION", nullable=false)
	private String description;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
